package com.zd.common.bean.model;

import java.util.Date;

import com.zd.common.common.annotation.Column;

/**
 * 
 * @author lishi
 * @date 2018年5月7日 上午12:17:42
 */
public class BmsRoleResource extends BaseModel {
	private Integer id;
	private Integer roleId; //角色ID（t_bms_role.id）
	private Integer resourceId; //资源ID（t_resource.id）
	private Integer operator; //操作人ID（t_bms_user.id）
	private Date createTime;
	private Date updateTime;

	@Column
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column
	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	@Column
	public Integer getResourceId() {
		return resourceId;
	}

	public void setResourceId(Integer resourceId) {
		this.resourceId = resourceId;
	}

	@Column
	public Integer getOperator() {
		return operator;
	}

	public void setOperator(Integer operator) {
		this.operator = operator;
	}

	@Column
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
